package com.wzh.glsc.product.feign;

import com.wzh.common.to.SkuReductionTo;
import com.wzh.common.to.SpuBoundsTo;
import com.wzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("glsc-coupon")
public interface CouponSpuBoundsFeignService {

    @PostMapping("/coupon/spubounds/saveSpuBoundsBySpuBoundsTo")
    R saveSpuBoundsBySpuBoundsTo(@RequestBody SpuBoundsTo spuBoundsTo);

    @PostMapping("/coupon/skufullreduction/saveSkuReduction")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
